﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EFCoreDemo2.Entity
{
    public class Subject
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int  Id { get; set; }

        /// <summary>
        /// 科目名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 得分
        /// </summary>
        public decimal Score { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Memo { get; set; }
    }
}
